//--ZZProfIt--
/**********************************************************************
  The MIT License (MIT)
  Copyright (c) 2012 sunriseyuen

  Permission is hereby granted, free of charge, to any person obtaining
  a copy of this software and associated documentation files
  (the "Software"), to deal in the Software without restriction,
  including without limitation the rights to use, copy, modify, merge,
  publish, distribute, sublicense, and/or sell copies of the Software,
  and to permit persons to whom the Software is furnished to do so,
  subject to the following conditions:

  The above copyright notice and this permission notice shall be included
  in all copies or substantial portions of the Software.

  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
  DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH
  THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 ***********************************************************************/
using System;
using System.Collections;
using System.ComponentModel;
using System.Data;

using Dot.StreamObject;

namespace Muki.Entity
{
	[Serializable]
		[AttributeMapping(TableName="WHCDTBM")]
		public class WHCDTBMEntity: EntityObject
		{


#region Field
				private	string _ACC_CODE01="";
				private	string _COMP_CODE="";
				private	bool _FREEZE_BIT=false;
				private	bool _NET_ABLE=false;
				private	string _REGN_CODE="";
				private	string _WH_ADR01="";
				private	string _WH_ADR02="";
				private	string _WH_ADR03="";
				private	string _WH_ADR04="";
				private	string _WH_CLASS="";
				private	string _WH_CODE="";
				private	string _WH_CONT="";
				private	bool _WH_COST=false;
				private	bool _WH_DUMY=false;
				private	string _WH_FAX="";
				private	string _WH_GROUP="";
				private	string _WH_NAME01="";
				private	string _WH_NAME02="";
				private	string _WH_NAME03="";
				private	string _WH_NAME04="";
				private	string _WH_TEL="";
				private	string _WH_UDFX01="";
				private	string _WH_UDFX02="";
				private	string _WH_UDFX03="";
				private	DateTime _ZADD_DATE=DateTime.MinValue;
				private	string _ZADD_USER="";
				private	DateTime _ZCHG_DATE=DateTime.MinValue;
				private	string _ZCHG_FLAG="";
				private	string _ZCHG_USER="";
				private	string _ZSECURITY_CODE1="";
				private	string _ZSECURITY_CODE2="";
				private	string _ZSECURITY_CODE3="";
				private	string _ZSECURITY_CODE4="";
				private	string _ZSECURITY_CODE5="";
				private	string _ZSECURITY_CODE6="";
				private	Int32 _ZSECURITY_RIGHT=0;
#endregion

#region Properties
				//<Summary>
				//WHCDTBM,ACC_CODE01
				//</Summary>
				public string ACC_CODE01
				{
					get { return _ACC_CODE01; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ACC_CODE01)
							{
								_ACC_CODE01 = value; 
								this.PropertyChange("ACC_CODE01");
							}
						}else{
							_ACC_CODE01 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,COMP_CODE
				//</Summary>
				public string COMP_CODE
				{
					get { return _COMP_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_COMP_CODE)
							{
								_COMP_CODE = value; 
								this.PropertyChange("COMP_CODE");
							}
						}else{
							_COMP_CODE = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,FREEZE_BIT
				//</Summary>
				public bool FREEZE_BIT
				{
					get { return _FREEZE_BIT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_FREEZE_BIT)
							{
								_FREEZE_BIT = value; 
								this.PropertyChange("FREEZE_BIT");
							}
						}else{
							_FREEZE_BIT = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,NET_ABLE
				//</Summary>
				public bool NET_ABLE
				{
					get { return _NET_ABLE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_NET_ABLE)
							{
								_NET_ABLE = value; 
								this.PropertyChange("NET_ABLE");
							}
						}else{
							_NET_ABLE = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,REGN_CODE
				//</Summary>
				public string REGN_CODE
				{
					get { return _REGN_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_REGN_CODE)
							{
								_REGN_CODE = value; 
								this.PropertyChange("REGN_CODE");
							}
						}else{
							_REGN_CODE = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_ADR01
				//</Summary>
				public string WH_ADR01
				{
					get { return _WH_ADR01; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_ADR01)
							{
								_WH_ADR01 = value; 
								this.PropertyChange("WH_ADR01");
							}
						}else{
							_WH_ADR01 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_ADR02
				//</Summary>
				public string WH_ADR02
				{
					get { return _WH_ADR02; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_ADR02)
							{
								_WH_ADR02 = value; 
								this.PropertyChange("WH_ADR02");
							}
						}else{
							_WH_ADR02 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_ADR03
				//</Summary>
				public string WH_ADR03
				{
					get { return _WH_ADR03; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_ADR03)
							{
								_WH_ADR03 = value; 
								this.PropertyChange("WH_ADR03");
							}
						}else{
							_WH_ADR03 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_ADR04
				//</Summary>
				public string WH_ADR04
				{
					get { return _WH_ADR04; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_ADR04)
							{
								_WH_ADR04 = value; 
								this.PropertyChange("WH_ADR04");
							}
						}else{
							_WH_ADR04 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_CLASS
				//</Summary>
				public string WH_CLASS
				{
					get { return _WH_CLASS; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_CLASS)
							{
								_WH_CLASS = value; 
								this.PropertyChange("WH_CLASS");
							}
						}else{
							_WH_CLASS = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_CODE
				//</Summary>
					[AttributeMapping(PrimaryKey=true)]
				public string WH_CODE
				{
					get { return _WH_CODE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_CODE)
							{
								_WH_CODE = value; 
								this.PropertyChange("WH_CODE");
							}
						}else{
							_WH_CODE = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_CONT
				//</Summary>
				public string WH_CONT
				{
					get { return _WH_CONT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_CONT)
							{
								_WH_CONT = value; 
								this.PropertyChange("WH_CONT");
							}
						}else{
							_WH_CONT = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_COST
				//</Summary>
				public bool WH_COST
				{
					get { return _WH_COST; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_COST)
							{
								_WH_COST = value; 
								this.PropertyChange("WH_COST");
							}
						}else{
							_WH_COST = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_DUMY
				//</Summary>
				public bool WH_DUMY
				{
					get { return _WH_DUMY; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_DUMY)
							{
								_WH_DUMY = value; 
								this.PropertyChange("WH_DUMY");
							}
						}else{
							_WH_DUMY = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_FAX
				//</Summary>
				public string WH_FAX
				{
					get { return _WH_FAX; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_FAX)
							{
								_WH_FAX = value; 
								this.PropertyChange("WH_FAX");
							}
						}else{
							_WH_FAX = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_GROUP
				//</Summary>
				public string WH_GROUP
				{
					get { return _WH_GROUP; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_GROUP)
							{
								_WH_GROUP = value; 
								this.PropertyChange("WH_GROUP");
							}
						}else{
							_WH_GROUP = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_NAME01
				//</Summary>
				public string WH_NAME01
				{
					get { return _WH_NAME01; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_NAME01)
							{
								_WH_NAME01 = value; 
								this.PropertyChange("WH_NAME01");
							}
						}else{
							_WH_NAME01 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_NAME02
				//</Summary>
				public string WH_NAME02
				{
					get { return _WH_NAME02; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_NAME02)
							{
								_WH_NAME02 = value; 
								this.PropertyChange("WH_NAME02");
							}
						}else{
							_WH_NAME02 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_NAME03
				//</Summary>
				public string WH_NAME03
				{
					get { return _WH_NAME03; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_NAME03)
							{
								_WH_NAME03 = value; 
								this.PropertyChange("WH_NAME03");
							}
						}else{
							_WH_NAME03 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_NAME04
				//</Summary>
				public string WH_NAME04
				{
					get { return _WH_NAME04; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_NAME04)
							{
								_WH_NAME04 = value; 
								this.PropertyChange("WH_NAME04");
							}
						}else{
							_WH_NAME04 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_TEL
				//</Summary>
				public string WH_TEL
				{
					get { return _WH_TEL; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_TEL)
							{
								_WH_TEL = value; 
								this.PropertyChange("WH_TEL");
							}
						}else{
							_WH_TEL = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_UDFX01
				//</Summary>
				public string WH_UDFX01
				{
					get { return _WH_UDFX01; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_UDFX01)
							{
								_WH_UDFX01 = value; 
								this.PropertyChange("WH_UDFX01");
							}
						}else{
							_WH_UDFX01 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_UDFX02
				//</Summary>
				public string WH_UDFX02
				{
					get { return _WH_UDFX02; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_UDFX02)
							{
								_WH_UDFX02 = value; 
								this.PropertyChange("WH_UDFX02");
							}
						}else{
							_WH_UDFX02 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,WH_UDFX03
				//</Summary>
				public string WH_UDFX03
				{
					get { return _WH_UDFX03; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_WH_UDFX03)
							{
								_WH_UDFX03 = value; 
								this.PropertyChange("WH_UDFX03");
							}
						}else{
							_WH_UDFX03 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,ZADD_DATE
				//</Summary>
				public DateTime ZADD_DATE
				{
					get { return _ZADD_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_DATE)
							{
								_ZADD_DATE = value; 
								this.PropertyChange("ZADD_DATE");
							}
						}else{
							_ZADD_DATE = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,ZADD_USER
				//</Summary>
				public string ZADD_USER
				{
					get { return _ZADD_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZADD_USER)
							{
								_ZADD_USER = value; 
								this.PropertyChange("ZADD_USER");
							}
						}else{
							_ZADD_USER = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,ZCHG_DATE
				//</Summary>
				public DateTime ZCHG_DATE
				{
					get { return _ZCHG_DATE; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_DATE)
							{
								_ZCHG_DATE = value; 
								this.PropertyChange("ZCHG_DATE");
							}
						}else{
							_ZCHG_DATE = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,ZCHG_FLAG
				//</Summary>
				public string ZCHG_FLAG
				{
					get { return _ZCHG_FLAG; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_FLAG)
							{
								_ZCHG_FLAG = value; 
								this.PropertyChange("ZCHG_FLAG");
							}
						}else{
							_ZCHG_FLAG = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,ZCHG_USER
				//</Summary>
				public string ZCHG_USER
				{
					get { return _ZCHG_USER; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZCHG_USER)
							{
								_ZCHG_USER = value; 
								this.PropertyChange("ZCHG_USER");
							}
						}else{
							_ZCHG_USER = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,ZSECURITY_CODE1
				//</Summary>
				public string ZSECURITY_CODE1
				{
					get { return _ZSECURITY_CODE1; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE1)
							{
								_ZSECURITY_CODE1 = value; 
								this.PropertyChange("ZSECURITY_CODE1");
							}
						}else{
							_ZSECURITY_CODE1 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,ZSECURITY_CODE2
				//</Summary>
				public string ZSECURITY_CODE2
				{
					get { return _ZSECURITY_CODE2; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE2)
							{
								_ZSECURITY_CODE2 = value; 
								this.PropertyChange("ZSECURITY_CODE2");
							}
						}else{
							_ZSECURITY_CODE2 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,ZSECURITY_CODE3
				//</Summary>
				public string ZSECURITY_CODE3
				{
					get { return _ZSECURITY_CODE3; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE3)
							{
								_ZSECURITY_CODE3 = value; 
								this.PropertyChange("ZSECURITY_CODE3");
							}
						}else{
							_ZSECURITY_CODE3 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,ZSECURITY_CODE4
				//</Summary>
				public string ZSECURITY_CODE4
				{
					get { return _ZSECURITY_CODE4; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE4)
							{
								_ZSECURITY_CODE4 = value; 
								this.PropertyChange("ZSECURITY_CODE4");
							}
						}else{
							_ZSECURITY_CODE4 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,ZSECURITY_CODE5
				//</Summary>
				public string ZSECURITY_CODE5
				{
					get { return _ZSECURITY_CODE5; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE5)
							{
								_ZSECURITY_CODE5 = value; 
								this.PropertyChange("ZSECURITY_CODE5");
							}
						}else{
							_ZSECURITY_CODE5 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,ZSECURITY_CODE6
				//</Summary>
				public string ZSECURITY_CODE6
				{
					get { return _ZSECURITY_CODE6; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_CODE6)
							{
								_ZSECURITY_CODE6 = value; 
								this.PropertyChange("ZSECURITY_CODE6");
							}
						}else{
							_ZSECURITY_CODE6 = value; 
						}
					}
				}
				//<Summary>
				//WHCDTBM,ZSECURITY_RIGHT
				//</Summary>
				public Int32 ZSECURITY_RIGHT
				{
					get { return _ZSECURITY_RIGHT; }
					set 
					{
						if (this.Verified)
						{
							if (value!=_ZSECURITY_RIGHT)
							{
								_ZSECURITY_RIGHT = value; 
								this.PropertyChange("ZSECURITY_RIGHT");
							}
						}else{
							_ZSECURITY_RIGHT = value; 
						}
					}
				}
#endregion
		}
}
